<!DOCTYPE html>
<html>
  <head>
    <title>投票</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
  </head>
  <body>
    <h1><%= userData.nickname %></h1>
    <p>Welcome to <%= userData.nickname %></p>
  <a href="https://www.baidu.com/">连接啊啊啊啊啊啊啊啊啊啊啊啊</a>
  </body>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script src="http://www.leehgift.com/js/av-min.js"></script>
   <script>
       var APP_ID = 'zowolllk1LvLwQXlJ43TK9yz-gzGzoHsz';
       var APP_KEY = '3GDRzgRVNCBQUhBVyKQbSiXb';
       AV.init({
           appId: APP_ID,
           appKey: APP_KEY
       });
     console.log("22222");
     // console.log(title);
     // alert("111");
     var query = new AV.Query('Todo');
     // query.equalTo('openid', openid);
     query.find().then(function (results) {
         console.log(results);

         // 如果这样写，第二个条件将覆盖第一个条件，查询只会返回 priority = 1 的结果
     }, function (error) {
     });
   </script>
</html>
